package cn.stylefeng.guns.modular.financial.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 收入匹配管理表
 * </p>
 *
 * @author zhucx
 * @since 2024-03-27
 */
@Data
@TableName("financial_income_matching")
public class FinancialIncomeMatching implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 项目id
     */
    @TableField("operate_id")
    private Long operateId;

    /**
     * 归属项目
     */
    @TableField("operate_name")
    private String operateName;

    /**
     * 状态
     */
    @TableField("state")
    private String state;

    /**
     * 客户单号
     */
    @TableField("customer_order")
    private String customerOrder;

    /**
     * 运费
     */
    @TableField("freight_money")
    private String freightMoney;

    /**
     * 回单录入日期
     */
    @TableField("hd_time")
    private String hdTime;

    /**
     * 创建人
     */
    @TableField("create_user_name")
    private String createUserName;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 体积
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    @Override
    public String toString() {
        return "FinancialIncomeMatching{" +
        "id=" + id +
        ", operateId=" + operateId +
        ", operateName=" + operateName +
        ", state=" + state +
        ", freightMoney=" + freightMoney +
        ", hdTime=" + hdTime +
        ", createUserName=" + createUserName +
        ", createTime=" + createTime +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        "}";
    }
}
